Merge pull request #14 from gabi2/master

detect persistent portal correctly (bnc #8564949)