Optimizing 'Determining deployment builder' deployment phase using git ls-files, Fixes #607