The value for CIRCLE_REPOSITORY_URL is a git URL. Add a new env var that contains the HTTPS URL for the repo
CCI-I-1337