If you haven’t done the rail crossing quest/completed “find what the faceless are looking for”, Tanner hasn’t asked you to find the cube yet, so the player character wouldn’t know he wants the cube. The infiltrate the institute quest is the characters personal motivation, similar to how you get the quest to continue exploring the Black Sea after being fired from the expedition.