Support removing packages by stubbing to null.