recovery: use pathmap for recovery

Change-Id: I6674d25b6e86fd46928acb5e0fd78dbe49f65360