Fix duplicate lines in sshd_config

Improved regex to prevent multiple lines from being
substituted in sshd_config during preseed.

Change-Id: I49017fd1e9b921515181fa17b901630748329ccd
Closes-Bug: #1264312
Merge "Fix duplicate lines in sshd_config"