Use distro's packages if requested

Hi Gareth, added support to use Debian/Ubuntu official package when `$use_upstream_package_source = false`. 

Just let me know if you find these patches OK or want me to modify/check/verify anything else.