Fix #1: don't register null in ~IoCRegisterScoped