Fixed a bug I introduced

Have the provisioning profile be found in the same way the entitlements
are found
Merge pull request #2 from Norod/master

Fixed a bug I introduced