use relative locations inside the repository instead of absolute location

Change-Id: Ic21ed16c9957a716ef740e29f191ec59794accc1