Fix paths in `LocatorConfigurator`

Now it should handle absolute and relative paths too.