This changes the behaviour to perform the invalid_url check only when scheme is not present (so the current test cases are ruled out)