CDK-693: Use the qualifiedUri method to properly check the scheme first.

Closes #228