Fix creating not needed ha directory.