Revert "hide source location if outputSourceFiles is false (#571)"

Caused regression #592.

This reverts commit 8a50d1f064fc719e4099faf426d81e45690f07fd.
hide source location if outputSourceFiles is false (#571)

revised fix to address the regression in #592