Fix Inconsistent knife from file globbing

Fix for Inconsistent knife from file globbing #2173