Don't print stack trace when resource not found

CLI still prints that we don't have logging set up (bug 1218261), but
for resource not found it prints a nice error message instead of a
stack trace. The root cause of the problem was that we don't have
finding of resources by name implemented yet.

Fixes bug 1215433

Change-Id: Iee1444f1ee324eaae499052cd2117475a5154ce3