Only clear the images dir when changind branch

Dont do reset --hard as it will remove any required changes from some other folders
Instead, only go checkout on images folder to dispose off any local changes