This fixes an issue where there are more than one services matching grep regex, making the script fail.