Fixed a bug that caused issues with relative paths.

Change-Id: Ifadc260c1d601536702f8190a797b9091e6a1c28
Signed-off-by: mstegmaier <michael-1.stegmaier@uni-ulm.de>