do not create links if invalid input directory