RG-invariant curves in the fermionic hierarchical model