fix detection of persistent portal (bnc#856494)
Merge pull request #15 from gabi2/Code-11-SP2

fix detection of persistent portal (bnc#856494)