Fixed the package manager's install routine and made exceptions output in a more verbose form.