Made querying profile through RegisterInfo::getInfo crash safe