Check for writeable /tmp before executing hardware detection