Don't print empty attributes

This was a side-effect of #33, causing empty class lists in Active
Admin: https://travis-ci.org/activeadmin/active_admin/jobs/32816473