Fix remote url regex