Minor bug fix which was not in last commit

Fixed a preflight testing check bug introduced for finding nested git
directories.  This only affected testmode.