Fix enable tests

Initializing the wrong plugin.
Check if any project branches exit before iterating (APPENG-2790)

Empty robj collections do not handle iteration well. Check that the
collection is "True" before iterating over it.