Gang was caught after detectives switched out cannabis for dummy packages and tracked their delivery