don't create useless linked mode for empty package