Make sure we try to match against a string

Since it could be a Pathname