Allow the binlog_path to be set to an empty string
Merge pull request #834 from uhlenbrock/allow-blank-binlog_path

Allow the binlog_path to be set to an empty string
Make sure the instance is persisted before trying to get it's id
Merge pull request #838 from chancedowns/check-persisted

Make sure the instance is persisted before trying to get it's id