Install from local .deb package
It adds some conditional logic to skip trying to install from local .deb
packages if they don't exist.
This work was done from the dewet-assign-hostname
branch so first review !3 as merging this will apply all those changes as well.