ERT-530: Locate lock file in case directory