I stumbled on this problem, too, so thanks a lot for fixing it in 2.2.1-pl!
I wanted to get rid of this bug in my 2.2.0-pl2 installation and just patched it according to the commit you posted. The problem is, that $this->getProperty() is not defined, so I did it with raw force so far:
$this->xpdo->sendRedirect($this->_output, array('responseCode' => 'HTTP/1.1 301 Moved Permanently'));
There has to be a better way to do this, but how can I get the responseCode property in 2.2.0-pl2?