Indeed for NetBeans this codepath should not be hit. If permissions were somehow messed with though, the file might indeed be unreadable and thus explain why the "load from classpath" route is taken.
If you feel like you need a data science degree just to keep track of Google’s AI announcements lately, you are definitely ...