Refactor: tools: NULL-check args in cli_resource_print()
Best practice and makes Coverity happy.
Signed-off-by: Reid Wahl <nrwahl@protonmail.com>