--short is still by config like status.branch making it non-empty even on a clean tree. Use --porcelain to avoid this.
--short
status.branch
--porcelain