Don't update the NFS exports file [GH-4148]

Wrapped the NFS export modification process with a check for when there
are not exports to be modified