Strip repo url for parsing