MAID-311 GetAvailableEndpoint issue

https://maidsafe.atlassian.net/browse/MAID-311