Fix Unregister of non-existent registration

Signed-off-by: Jonathan Rudenberg <jonathan@titanous.com>