check if dist dir exists