The agent hasn't loaded code from the modulepath in a long time, so that's no longer an issue.
The server no longer loads code the agent's libdir by default (see SERVER-571). There is less need to do so as a result of hiera5/lookup and 4x functions being environment-safe. So I'm going to close this.