Handle relocations when reading packages