Re-scan all directories only after OTAs.

Currently CP2 scans all directory packages every time it starts,
which is a more or less slow operation.

With this change, we only do it only when after OTAs (when the OS
version changes).

Bug 26062101

Change-Id: Ifa3d6c29dacfa01572dfee31581d607f287390f9
4 files changed