fix for .app packages in open dialogs in exported apps (#1959)