Fix error when configuration[:dj] is unset