Low: crmd: better argument validation in metadata cache check
Before, lrm_state_get_rsc_metadata() would log an assertion if
has_cached_metadata_for() called it for a target node for which the local node
had never had a connection. Now, has_cached_metadata_for() avoids the call in
that situation.