Fix glob wildcard bug

If you glob a wildcard, but there is only one result, you should use that result. Not try and use the wildcard filename