restapi: log error only when no InputStream

Change-Id: I179cef646da35ebfbc28d96823f5e4ea7429532f
Signed-off-by: Michael Pasternak <mpastern@redhat.com>