`register_addon` return value fix

`register_addon` would not return anything (`null`) when an addon was being successfully registered. Added a `true` return value.