fix subprocess call to use restraint options

Signed-off-by: Gowrishankar Rajaiyan <gsr@redhat.com>