fix endpoint property resolution

fixes the WIP test introduced for bug described at https://github.com/brooklyncentral/brooklyn/pull/895