Add a proper error condition when a package manager cannot be inferred