Allow to set path using relative location.

Signed-off-by: crynobone <crynobone@gmail.com>