[LAD] Correctly replace __MDSD_SOCKET_FILE__ pattern and do so when rsyslog is installed
[LAD] Correctly replace __MDSD_SOCKET_FILE__ pattern and do so when rsyslog is installed

bpramod/azure-linux-extensions,Azure/azure-linux-extensions,vityagi/azure-linux-extensions,bpramod/azure-linux-extensions,vityagi/azure-linux-extensions,jasonzio/azure-linux-extensions,Azure/azure-linux-extensions,Azure/azure-linux-extensions,bpramod/azure-linux-extensions,andyliuliming/azure-linux-extensions,krkhan/azure-linux-extensions,soumyanishan/azure-linux-extensions,varunkumta/azure-linux-extensions,Azure/azure-linux-extensions,vityagi/azure-linux-extensions,varunkumta/azure-linux-extensions,vityagi/azure-linux-extensions,andyliuliming/azure-linux-extensions,vityagi/azure-linux-extensions,Azure/azure-linux-extensions,andyliuliming/azure-linux-extensions,soumyanishan/azure-linux-extensions,krkhan/azure-linux-extensions,soumyanishan/azure-linux-extensions,vityagi/azure-linux-extensions,varunkumta/azure-linux-extensions,varunkumta/azure-linux-extensions,andyliuliming/azure-linux-extensions,vityagi/azure-linux-extensions,bpramod/azure-linux-extensions,krkhan/azure-linux-extensions,krkhan/azure-linux-extensions,soumyanishan/azure-linux-extensions,jasonzio/azure-linux-extensions,Azure/azure-linux-extensions,bpramod/azure-linux-extensions,jasonzio/azure-linux-extensions,soumyanishan/azure-linux-extensions,bpramod/azure-linux-extensions,Azure/azure-linux-extensions,bpramod/azure-linux-extensions,jasonzio/azure-linux-extensions