Fix problem with test=True for binary pkg install

Thought I had fixed this in 4149529 but I was mistaken.