Fix up HOME environment variable support on macOS - only exclude containers.
Fix up HOME environment variable support on macOS - only exclude containers.

OpenPrinting/cups,OpenPrinting/cups,apple/cups,apple/cups,OpenPrinting/cups,OpenPrinting/cups,apple/cups,apple/cups