Board Thread:Questions and Answers/@comment-29963585-20160913204421/@comment-6554265-20160913230601

The only way to unlock it is to complete the side op "Extract Legendary Gunsmith" and make sure it saves. If you still don't have it after that, the game is simply glitched and you'll probably never be able to finish all the Gunsmith missions.