core: support space within installation directory

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