treecompose: Make rpmostreecachedir optional

If rpmostreecachedir isn't provided, don't require it and
don't send cachedir to rpm-ostree.