session: hotfix for schema and locale check

Signed-off-by: Jiri Kuncar <jiri.kuncar@cern.ch>