Bugfix for createLocation and loadLocations.
Now they are using auto-discovered location paths.