SCHEMA-561. Fix deadlock-type bug where installing secure Kiji is impossible.

issue: https://jira.kiji.org/browse/SCHEMA-561
review: https://review.kiji.org/r/1154/