fix for #2173 

Fix for Inconsistent knife from file globbing
fix typo error
Merge pull request #2239 from justanshulsharma/patch-2

Fix Inconsistent knife from file globbing