Reorder push command operations
Reorder push command operations

Narrow down the window of opportunity for race conditions

Reference issue: #18
The idea was presented in this PR: #19

hypnoglow/helm-s3,hypnoglow/helm-s3