fix detection of persistent portal (bnc#856494)