When dealing with unix, every mount point would start with '/'. This would lead to incorrect result when selecting the primary partition. So instead, find the mount point that ends with '/'. This would be our primary partition.
Tested on windows and mac, and it works as intended.
Fixes https://github.com/maidsafe/safe_network/issues/1888