[xbob.db.frgc] Fixes to isinstance with py2/3 typing