Return an error on pkg create when adding files