Fix issue number missing for new issues in local projects

Currently it is not possible to create new issues for local (aka "non GitHub") projects. This should fix it.