Build: Don't pass undefined to grunt's  method in error cases. Must be  for the task to fail.