Use absolute paths for calculating hash