Had if/else wrong way around, resulting in Django's cache destroying local repo