swconfig: fix dependency bug introduced by [37304]