Protect against nil and only match url with 'http'