Don't use absolute paths for warnings (avoids paths containing grit urls)