Use better variable formats
Use better command to decide if repo is clean