Rakefile: tidy up manifest check