Of course the variable $tuplepkg needs to be used but besides that the former check was also wrong because there is no "postgres" package in OpenSDE! Thanks to Karasz for spotting the issue! Highly specialized pattern matching still seems to work! ;)stable/0.6