Fix bug in retry of get policy profile from n1kv

Change-Id: I53c5f3fa541a8b8cbd2daf039efe74ced9a8ba96