1) mkiraf in a new directory (so you have a fresh set of parameter files)
2) To login.cl add: "set x_gmos = "
3) Near the end, define the package:
task $x_gmos.pkg "
(the $ sign is necessary and signifies that there is no parameter file)
4) Now it should work to call it as "x_gmos".