Fixes sending diffs withich affects files from nested repositories