Uri.getPath() was truncating the url and throwing a  java.net.MalformedURLException: Protocol not found error