Detect path to hwprofile.xml