I'm using a splitfile to build images and while it works most of the time, sometimes it fails with these errors
Gathering remote metadata...
error: psycopg2.errors.UndefinedFunction: function splitgraph_api.get_tagged_images(unknown, unknown) does not exist
error: LINE 1: SELECT image_hash, tag FROM "splitgraph_api"."get_tagged_ima...
error: ^
error: HINT: No function matches the given name and argument types. You might need to add explicit type casts.
This started to happen after upgrading to v0.3.9 and using the new sgr build --layered-query feature.