Fix Py list length check in cpy_build_meta()
Fixed indentation and decreased reference count
Merge pull request #839 from yogeswaran/python

Fix Py list length check in cpy_build_meta()