Change behavior for when given custom packages so it works for Debian.