Upfix detecting dist directory