diff --git a/modules/oauth/lib/OAuthStore.php b/modules/oauth/lib/OAuthStore.php
index 21cd761820b82e4bb364f1353432038e39ac86ae..307a8ec61869f98757844c211e2931c22bae4b27 100644
--- a/modules/oauth/lib/OAuthStore.php
+++ b/modules/oauth/lib/OAuthStore.php
@@ -17,10 +17,10 @@ class sspmod_oauth_OAuthStore extends OAuthDataStore {
 			
 		if (!file_exists($path)) {
 			mkdir($path);
-		} else {
-			if (!is_dir($path)) 
-				throw new Exception('OAuth Storage Path [' . $path . '] is not a valid directory');
 		}
+		if (!is_dir($path)) 
+			throw new Exception('OAuth Storage Path [' . $path . '] is not a valid directory');
+			
 		$this->path = $path;
     }