Fixed pg-native Pool detection in node-postgres transactions breaking in environments with forbidden `require()` (fixes #5107) (#5118)