Fixes issue where #has_app_installed? can return a false positive