Adding apt source repo fixes

When running as non-root user, adding apt sources was failing. This PR addresses adding a new key to the apt keyring, and makes sure it can append to the sources.list file.

There might be a nicer way of adding to the sources list that still uses FancyPath, welcome to adjust, but the following works.