Fix testport -i when build fails