Fixed an issue where parameterless commands couldn't run.

Signed-off-by: robhol <email@robhol.net>