Fixing parsing of incomplete URLs
Small cleanup. Superfluous parameter