Fix bug when no test files exist and browserify in debug mode

If you run karma while you don't have yet any test files, and you configured browserify to run in debug mode, you will get a nasty exception saying that map is null and doest not have a sourcemap property.