Correctly interpreting the BASE_DIR setting