#1249 changes this signature to `Maybe` with a good exception on `absent.get()` so to prevent merge conflicts I'd suggest changing this to say simply

    final SshMachineLocation sshLocation = Locations.findUniqueSshMachineLocation(entity.getLocations()).get();