Fix segfault with dead symlinks
Fix segfault with dead symlinks

If a symlink pointed to a non-existing directory, the path navigation
menu would crash when attempting to free the structs

Change-Id: Icd6e7dcc711645f82c5ac014fcacd506b95a2fc2

kylinmoddev/android_bootable_recovery,InsomniaAOSP/platform_bootable_recovery,kylinmoddev/android_bootable_recovery,Plain-Andy/android_platform_bootable_recovery,Plain-Andy/android_platform_bootable_recovery,InsomniaAOSP/platform_bootable_recovery,randomblame/bootable_recovery,DerTeufel/dualboot_recovery,InsomniaAOSP/platform_bootable_recovery,DerTeufel/dualboot_recovery,DerTeufel/dualboot_recovery,InsomniaAOSP/platform_bootable_recovery,Plain-Andy/android_platform_bootable_recovery,76Demented/bootable_recovery-,76Demented/bootable_recovery-,InsomniaAOSP/platform_bootable_recovery,randomblame/bootable_recovery,DerTeufel/dualboot_recovery,76Demented/bootable_recovery-,Plain-Andy/android_platform_bootable_recovery,76Demented/bootable_recovery-,randomblame/bootable_recovery,kylinmoddev/android_bootable_recovery,randomblame/bootable_recovery,kylinmoddev/android_bootable_recovery,randomblame/bootable_recovery,76Demented/bootable_recovery-,DerTeufel/dualboot_recovery