Remove hard-coded library path.
Handle case when no snapmirrors exist.