Only stop on hooks returning at least one rc script.
Check if package manager is available before trying to use it.