fixes path configurability in gallery importer