Fix source packaging tests