phonegap: fix directory finder + hide 'old version' notification for ionic
(cherry picked from commit 5c4366f)