Fix gcylc

Following b1f7bc69c929b3507dabffd5aad8fdf04e74d7ab, `gcylc` with no
argument returns 'NoneType' object has no attribute 'printcfg'. This
fixes the problem.
Merge pull request #866 from matthewrmshin/fix-gcylc

Fix gcylc