BZ-1002065 fixed - error ocurred when a file with execution permission (X) was found in the branch