Fixed error in detecting local tmp dir existence in BTS download script