gandalf: fix create registry_path