It's been established that Sabine is an explosives expert, not a huge leap to say she made explosives for the Empire.
I did love this episode, the whole backstory of the Darksabre was awesome. Kind of disappointed that it wasn't stolen from the Jedi Temple during the sack of Coruscant, but cool that a Mandalorian Jedi is now canon.