checking for file existence before git ls-tree