[Bug 2081264] foo/* glob in %files sometimes packages the directory and sometimes does not