generic/590: fix the xfs feature detection logic