Add a preflight-check failure handler script.

To handle the case where the preflight-check scripts fail to
configure the system (exit with non success code). What is to
be done in this case is still undecided, but it would be launched
from this hook.
Fix typo in Gem::Specification dir setup.