On a Linux system which uses active directory for authentication, some groups (such as "domain users") cause the lines detecting the tar files to not find the filename, since the space is used as a delimiter in the output of ls.
Relevant lines where this is a problem are 62, 125. print $9 works as long as the user and group are one word with no spaces.