Make the veresion of getSource which takes environment variables private.