Prevent wildcards in source specs from matching . or ..