Fix PropertyMap.coerce_type() with python::object

2 jobs for master in 731 minutes and 37 seconds
Status Name Job ID Coverage
  Test
passed job_clang_amd64 #4799
amd64

12:11:37

passed job_gcc_amd64 #4798
amd64

08:09:38