The CLI erroneously appends absolute path for URI's.
It also replaces the double slashes to single slashes.
This Util method removes the erroneously appended absolute path for URI's.
And appends :/// for the URI's.
Paths with hdfs/s3/s3n are appended with double slashes ://
Any new URI's have to be handled appropriately