Revert "Search line with awk itself and avoid grep"

This commit causes all tripleo ironic CI jobs to fail CI.
The tripleo test env's need to be adjusted and redeployed first
in order to accept a new command over ssh.

Change-Id: Id057603717777777536f7ca947792862724b28f5
Merge "Revert "Search line with awk itself and avoid grep""