Extract function.
Script to find dirty repos.