Test for build command fingerprints in path deps

This tests the fix for list_files_walk from #561.