Added better path handling for finding realm
Added better path handling for finding realm

laptobbe/Realm-Rest,AlexanderMazaletskiy/Realm-Rest,AlexanderMazaletskiy/Realm-Rest,laptobbe/Realm-Rest,AlexanderMazaletskiy/Realm-Rest,AlexanderMazaletskiy/Realm-Rest,laptobbe/Realm-Rest,laptobbe/Realm-Rest