[v2 PATCH 5/5] mf/topology: Improve error handling when connecting sample copier node (Coverity).