gplugin/gplugin

Add some additional error checking to gplugin_native_loader_query

Testing Done:
Ran the unit tests

Reviewed at https://reviews.imfreedom.org/r/1848/
[branchname]
master = default
develop = develop
feature = feature/
release = release/
hotfix = hotfix/
support = support/