[Bug 17977] Sacred hangs after applying commit ef2d70418383f03c6bf701caeb67129acc6d2453