Checking validity of remoteURL