refactor missed a changed in the directory block in sites

Signed-off-by: Tass Skoudros <tass@skystack.com>