Setting or adding to custom_components/ directory

I’m using container based development env based off this blueprint. The script to run HA set the custom_components/ directory to <root>/custom_components:

#!/usr/bin/env bash
set -e
cd "$(dirname "$0")/.."
if [[ ! -d "${PWD}/config" ]]; then
    mkdir -p "${PWD}/config"
    hass --config "${PWD}/config" --script ensure_config
fi
# Set the path to custom_components
## This let's us have the structure we want <root>/custom_components/integration_blueprint
## while at the same time have Home Assistant configuration inside <root>/config
## without resulting to symlinks.
export PYTHONPATH="${PYTHONPATH}:${PWD}/custom_components"
# Start Home Assistant
hass --config "${PWD}/config" --debug

This is what we want, but it doesn’t play nice with HACS. HACS installs all components to config/custom_components and with this configuration none of the HACS components are found.

Is there a way to either change the HACS download location or add another directory to load custom components from? I tried:

export PYTHONPATH="${PYTHONPATH}:${PWD}/custom_components:${PWD}/config/custom_components"

but it didn’t work.