packages with relative locations should have location appended to canonicalDir