WIP: Fixes the direnv path in the shell hook.

This allows to keep direnv working even if the PATH has been messed up with.

TODO: the shell also needs to be resolved for this fix to work