[FIX] Fix issues with discovering and command execution
[FIX] Fix issues with discovering class unwrapping the php wrapper or failing if the locate db was not filled and command execution where PATH was being empty and no command could be executed (svn r68471+r68472)