Fix realmlist parsing for multiple realms

Also update gitignore