core: support relative path to profile

Change-Id: I05b715ecd6ee4af0e70b3718d9ea2662c30064ed
Signed-off-by: Alon Bar-Lev <alonbl@redhat.com>