Are we certain that McGill is unavailable for the Motherwell game? He's definitely not played for Hearts in the cup so he isn't cup tied, and I suspect he was possibly signed too late to be registered for the Linlithgow game.
The only way he wouldn't be is if Hearts have said no to cup games, which hasn't been said publicly (as far as I've seen) and wouldn't really be of benefit to Hearts.