Check if we can remove a common prefix from files of BOTH packages