Make wildcard behavior more natural

Wildcards will now always have to match the whole path, not just parts of
it.