With the kingside safely blocked the black king is in no danger on g8, whereas the queenside may now be used for an attack.
Preparing a king march to the opposite flank to neutralize White's coming attack.
2...Ke7 3.Nf1 Kd8 4.Rh3 Rh8! 5.g4 Kc7 6.Ng3 Kb8 7.Kf2 Nc7 8.Qa2 Rcg8
Black has managed to consolidate his position and the king is safe on b8. A future plan is ...g7-g5 followed by ...Ne8-g7 and ...Bc8-d7-e8 in preparation for ...h7-h5