Prevent Canary flagging Bukkit commands as not a command.

Also prevent a null pointer exception.