Add better checks for lock file in SecurityAdvisory.