Fix linter not throwing errors when a vendored library's path is invalid

This should fix #1559