Fixed check for grompp.

Change-Id: I6f9d16eb9433e3f9f1b5abcc7293f1d68fdc7259