Added simple validity check to populate_self
Merge pull request #129 from Connexions/populate_self_robust

Added simple validity check to populate_self