Check env.django flag before trying to build siteconf