sr: Use pathmap for recovery

Change-Id: I6350618e1e04819d52f1049f9f2fb61c833a1b45

FROM: http://review.cyanogenmod.org/#/c/74372/