Fix glob pattern in file path

Behave as if the globstar opt is true

Signed-off-by: Rohan Jain <crodjer@gmail.com>