pr: handle https remote URLs - fixes #2