Remove wrongly added code

This code was wrongly kept after rebasing the patch series for
run-as-service. It expectedly broke Tizen build.
Merge pull request #1173 from cmarcelo/fix-tizen

Remove wrongly added code