Handle empty case in reduce call
Correct owned hook wrapper detection
Change debug log statement to info level
Correct script name determination
Script subprocess call if script does not exist
Add command debug
Strip .git suffix when looking up repo