Catch case where no argument are passed.

Missed this when moving script around.
Refs #9639