It shall not be essential to commit a delinquent, dependent or neglected child to the house of detention established by this act if, in the judgment of the probation officer now or hereafter to be appointed under any present existing law or laws of this commonwealth, it should be deemed expedient to otherwise dispose of said child.
11 P.S. § 428