That one has floored many a check ride candidate - to my knowledge "runway heading" implies exactly that: maintain the heading (the thinking being that if everone does, all have the same drift off track). However if the SID or missed approach states anything to do with "track" the ball game changes.
But then again I could be proved wrong!