Two small error error handling and cleanup patches. The first one fixes an incorrect error message printed on success. The other one fixes some cleanup. Which is probably not required because PCI code is generally required for a functioning system...