fix for expired apt key

Previously the code only checked to see if the apt key is installed. This change also confirms that the apt-key output reads "expires". (When the apt key expired last week, the output said "expired")