That is current policy. It was not the policy in 1987, when the extradition issue came up.
It was already the policy in 1987. Capital punishment is illegal by the German institution (Grundgesetz Artikel 102) since 1949. Therefore it is not possible to extradite to countries with capital punishment if the prisioner is affected. This was clearly the case with Hamadi.