copy version config only if dir exists