Remove afs reference and change popen to shell_cmd
Remove afs reference and change popen to shell_cmd

Change-Id: Iafe5bdda7d053918aa6fe3aac8cdb421655e6c89
Signed-off-by: Michael Walsh <10404802c7de463f402c4a18638106ca1b12ef61@us.ibm.com>

openbmc/openbmc-test-automation,openbmc/openbmc-test-automation