That's a good point.  We need to be avoiding burying specific board IDs into the code.  I've been busily trying to do the opposite and abstract all this type of logic into the board plugin.  Please see #437 for an example of how this line should be done.