Fix in globbing, fix in hdfs:// support

Change-Id: Iec9d317b879002830ea94090d191d84018a3eb5a