Fix connector exported resource bugs

Apparently wrapping the guard fragments in a defined() if statement
causes issues when realizing the exported resources. Probably something
to do with defined types and exported resource interactions. Bypassing
for now.