Fixed provisioning profile check => We should check for the file, not the dir