Correct a deploy directory.