Agent should must check if router exists before deleting it.

Change-Id: Ib93b682c6d04e291096ec98999427f87546968e9