Fix for when no afm files are installed.  From https://bugzilla.redhat.com/show_bug.cgi?id=896182, though fixed in a different way.