They didn't say it was for national security ("or some other such rubbish" was the point I was making -- that it was a bullshit reason, not that it was a direct quote). The Health Minister claimed that having the source code public would make it easier to hack[1]. But it's just as ridiculous of a statement.
[1]: https://www.itnews.com.au/news/health-minister-now-unsure-if...