qt-installer-framework: add dirExists() function