Allow relative paths to be used with --path option.

Pull request for #478