python: fixed call to conf set/get

there is no known way to retrieve the caller of C function so we need to
explicitly ask for identity of extension for it to work