Modified build phase script dirty indicator to check for untracked files as well.