It depends on what the threat is.
If the threat is finding vulnerability, then you are right. If the threat is leaking the source code to the competition, then it is a serious matter.
Also, keep in mind the deployed source code is different than just the source code; it usually contains things like the database credentials and such.