Be more smart when loading the chain spec (#3135)

Instead of relying on the name of the chain spec file, we now use the
`is_*` methods for this.
12 jobs for master in 24 minutes and 43 seconds (queued for 1 second)
Scheduled