Fix regression for Bug#3990