Merge "registration: Avoid double slashes in localBasePath"