Bug 981: Make sure QName is not null in RPC case.

Change-Id: I7316918102342ce0375cfa6b14e00a6888eed43b
Signed-off-by: Tony Tkacik <ttkacik@cisco.com>
(cherry picked from commit e4105f3c14b72e9aa2797d125a738b00040ea331)