Fixed issue that happened when the install path was inexistent.

Improved exception messages.
Improved install lifecycle and improved unit test