Strip empty strings from link args

Closes #15487