core: prepend path in case of run from source

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