Fixes the problem where if there isn't anything to replace with, it replaces with "undefined"

https://github.com/yeoman/grunt-usemin/issues/128
Merge pull request #303 from jetpad/patch-1

Fixes the problem where if there isn't anything to replace it with, it replaces with "undefined"