Rewrite perform_put for DRY
Rewrite perform_put for DRY

hackday-profilers/flocker,AndyHuu/flocker,mbrukman/flocker,adamtheturtle/flocker,hackday-profilers/flocker,agonzalezro/flocker,adamtheturtle/flocker,hackday-profilers/flocker,Azulinho/flocker,1d4Nf6/flocker,adamtheturtle/flocker,agonzalezro/flocker,Azulinho/flocker,achanda/flocker,wallnerryan/flocker-profiles,mbrukman/flocker,AndyHuu/flocker,w4ngyi/flocker,AndyHuu/flocker,moypray/flocker,1d4Nf6/flocker,w4ngyi/flocker,moypray/flocker,mbrukman/flocker,achanda/flocker,moypray/flocker,1d4Nf6/flocker,achanda/flocker,wallnerryan/flocker-profiles,agonzalezro/flocker,w4ngyi/flocker,wallnerryan/flocker-profiles,Azulinho/flocker