Bug 1081249 - Synchronize access to selinux matchpath context

* Fix unit tests