Remove empty blocks from rake tasks