Fixes the 'app console' command and the custom public key locations handling