dist/pull: try to fix the condition

Somehow it tried to stash even on clean repos.