usermanager: safe out API functions, (Fixes #161)
fixes a traceback when a function is called on an unexistant host.