Add a function to convert a URL method string into a repo object (jkeating AT