Spraygun retainer excluding mounting bracket