Fix profile issue and make gemrc valid yaml (empty) hash