Added a fix for directory creation and added a 'excluded' repo count metric