Added error checking for non-URL repository and channel locations