Fixed a bug where './' was being prefixed to strings with wildcards in them