plugins: fix android-provision crash

Fix a crash in provision_get_settings() caused by the code
freeing 'error' with g_error_free() but not setting the value
to NULL afterwards.  This can cause a subsequent call to
g_error_free() to happen again with an invalid pointer value.