Added a little shim for pc dev

Prevented an error when getting the cpu rev and error messages when writing to pins on a non-pi device.