Allow . files to be created

Fixes: https://github.com/gitlabhq/gitlabhq/issues/5770

Have to wait what CI is saying for test status