core: Fix raw type warning

Change-Id: I41ecdb4e6f08d72af876b441ee0fe8540986253a
Signed-off-by: Yair Zaslavsky <yzaslavs@redhat.com>