gplugin/gplugin

make sure g_assert_no_error is checked before return values.

Testing Done:
Compiled and ran the unit tests locally.

Reviewed at https://reviews.imfreedom.org/r/327/
syntax: glob
.*.swp
*.debhelper
*.orig
*.pyc
*.ui~
\#*.ui\#
syntax: regexp
^build.*\/
^packaging\/debian\/tmp\/
^packaging\/debian\/(.+\.)?(substvars|debhelper\.log)$
^packaging\/debian\/build.*\/
^packaging\/debian\/libgplugin0?(-.+)?\/
^packaging\/debian\/gir1.2-gplugin-0.0\/
^packaging\/debian\/files$
^po\/.*\.pot$
^obj-x86_64-linux-gnu\/
^debian\/?$