Fixed a bug in the handling of relative/absolute paths.