Fix dvtm repo variable check