Fix dependencies losing portepoch

Tested by:	bdrewery