Fix python process matching

Close #20