Fix __repr__ logic.

As pointed out here:
https://github.com/fedora-infra/fmn.lib/pull/12/files#r16629573