python/ext/py-source.c: fix error string, only delete if created