This fixes issues with the doctor not being able to find certain packages (like evil-collection), and an issue where using the package management API (which calls doom-initialize-packages) breaks the current session by breaking the load-path.