Remove wrongly added code

This code was wrongly kept after rebasing the patch series for
run-as-service. It expectedly broke Tizen build.