Fix incorrect error on loading nonexistent plugin