do not return python classes from get_triple()

Change-Id: I2f06ce05128c2278f6f6b62e1bb093d59c5680e7