Otherwize the distrevision may be displayed twice
if it contains some special matching patterns.
(For example I am using "git-$hash" in my own OpenWrt branch.) Signed-off-by: Chuanhong Guo <[email protected]>
(cherry picked from commit c1f0a9971a0b75515996cd59dfaf70f3ff6cc624)