properly detect if we have the F_IS_IN_PATH bit set