[FIX] fixed regression that made the server url detection fail