Fix lookup of QML import path

The code now respects QML_IMPORT_PATH env.