handle YAML.load_file returning --- string

It looks like on older Ruby versions YAML.load_file can return "---" string when loading an empty yml file. This can lead to a bad release command to be generated.