make sure to remove the pkg source before unpacking so we do not use any previous artifacts, fix #1437, close #1440