Merge remote branch 'github/pr/45'

This closes #45

Signed-off-by: ILYA Khlopotov <iilyak@ca.ibm.com>
diff --git a/src/fabric_util.erl b/src/fabric_util.erl
index 55661d3..0256fb6 100644
--- a/src/fabric_util.erl
+++ b/src/fabric_util.erl
@@ -295,7 +295,7 @@
     DbName == ConfigName orelse path_ends_with(DbName, <<"_users">>).
 
 path_ends_with(Path, Suffix) ->
-    Suffix == couch_db:normalize_dbname(Path).
+    Suffix =:= couch_db:dbname_suffix(Path).
 
 fake_db(Opts) ->
     UserCtx = couch_util:get_value(user_ctx, Opts, #user_ctx{}),