Correct fix for the case of source archives in issue #1130