optimize filter_by_fqdn(), rename to get_by_fqdn()

as we precisely expect 1 result (0 or more than 1 are error cases), use .get() instead of .filter().
avoid usage of len().
maybe this is a little more efficient than before.