diff --git a/src/common/plugrack.c b/src/common/plugrack.c
index 80ae7d4cc33a0430f74cc7b0b9a665a726a3a809..edfeef5165f98da85079f85b3b155efbb150cc27 100644
--- a/src/common/plugrack.c
+++ b/src/common/plugrack.c
@@ -478,6 +478,7 @@ plugrack_read_dir( plugrack_t rack,
                 strcpy( tail, e->d_name );
 
                 /* Check only regular files. */
+		if ( strncmp(e->d_name, ".", 1) == 0) continue;
                 if ( stat( fq_path, &st ) < 0 ) continue;
                 if ( ! S_ISREG( st.st_mode ) ) continue;