Prevent failure on empty mapfile