CDK-571: Check relative URIs if their empty before calling new Path(URI)

Closes #164.