Lock subversion fix

This is extracted from #687.

This prevents #report_failure and #report_success from causing the unlock not to occur during #enable and #disable by using #report_boolean after the unlock occurs.