Avoid warning for possibly non-existing file

Also remove tab to avoid emacs warning about makefile syntax

Squashed the 4 commits from #8192

closes #8192
Merge branch 'make-warning'