Added check to reporting to exit gracefully

When no files are being instrumented upon reporting, we should exit
gracefully. Otherwise the following error will stop JS execution:
"Uncaught TypeError: Cannot read property 'branchFcn' of undefined"