Make sure exclude path is absolute to prevent invalid comparison with root path.