Add empty check for path in WebAssert cleanUrl()

PHP parse_url does not always return a 'part' component which causes a PHP strict error as cleanUrl references the array key directly in the return value. This checks for a path and defaults to root ('/') if empty.