Better YML handling
fix #54
Fix a bug when publishing with no remote
fix #53