CDK-652. Include namespace in temporary repository.
CDK-693: Use the qualifiedUri method to properly check the scheme first.

Closes #228