Keeping push from mkdir when not necessary.