Encode url used for importing from GitHub. Closes #90.