Fix pylakes error
Log the command
Switch to branch before merging