Fix remote connection when URL missing