[sanlock] 04/07: Add environment variables helpers