Fixing the way that RA gets the home directory due to iOS8 change

Annoyingly it still works in the iOS8 simulator without this change.
Merge pull request #1188 from jeapostrophe/master

Fixing the way that RA gets the home directory due to iOS8 change