restapi: fix incorrectly implemented cloud-init metadata #1040513

Change-Id: I44111ab1c8d2c8b449bc1ac6924ba30dd21fcbca
Signed-off-by: Michael pasternak <mpastern@redhat.com>
Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=1040513