I am not able to setup remote branch with this plugin in production mode, keep saying `Could not detect remote repository .` It's working fine locally.