Fixes AttributeError when no command is supplied.