You need to plug the line to the vacuum unit on the left side of the bike.
One of those hoses went to the vacuum sensor.
It is located behind the small black plastic triangular cover on the left side.
I used a rubber plug from Napa they sell them in an assorted pack for different line diameters.
2013 Ducati Hypermotard SP, 2011 Husaberg FE570S, 2011 BMW S1000RR, 2010 BMW F800GS
2007 Husqvarna TE610 , 2003 KTM 525 MXC