Fix a npe in example sesion file chooser introduced by last commit