Fix a bug in classcfg which misinterprets format of "ipaddr/netmask"

The bug occurred both for IPv4 and IPv6 addresses when netmask is a number, e.g. 24.
3 jobs for master
Status Job ID Name Coverage
  Build
failed #386
build

 
  Test
skipped #388
allowed to fail
code_quality
skipped #387
test
 
Name Stage Failure
failed
build Build There has been a timeout failure or the job got stuck. Check your timeout limits or try again
No job log