api: don't use :app parameter in appIsAvailable handler

Related to #287.
api: don't use :app parameter in cloneRepository handler

Related to #286.
api/main: explain why appIsAvailable and cloneRepository don't use :app

Related to #286 and #287.