Fixes #4491: Rudder considers an inventory as "failed" if the endpoint i...

...s unavailable

See http://www.rudder-project.org/redmine/issues/4491